package com.cloud.order.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * packageName com.cloud.order.properties
 *
 * @author yanshuanglong
 * @version JDK 8
 * @className OrderProperties
 * @date 2025/3/18
 * @description 批量读取nacos配置中心配置
 */
@Component
@ConfigurationProperties(prefix = "order")
@Data
public class OrderProperties {
    private String timeout;

    private String autoConfirm;

    private String dbUrl;
}
